package com.example.demo.controller;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
*
* 机动车上报
*
* @author binYan
*/
@NoArgsConstructor
@Data
public  class MotorVehicleDTO {


    @JsonProperty("MotorVehicleListObject")
    private MotorVehicleListObjectDTO motorVehicleListObject;

    @NoArgsConstructor
    @Data
    public static class MotorVehicleListObjectDTO {
        @JsonProperty("MotorVehicleObject")
        private List<MotorVehicleObjectDTO> motorVehicleObject;

        @NoArgsConstructor
        @Data
        public static class MotorVehicleObjectDTO {
            @JsonProperty("MotorVehicleID")
            private String motorVehicleID;
            @JsonProperty("InfoKind")
            private Integer infoKind;
            @JsonProperty("SourceID")
            private String sourceID;
            @JsonProperty("DeviceID")
            private String deviceID;
            @JsonProperty("StorageUrl1")
            private String storageUrl1;
            @JsonProperty("StorageUrl2")
            private String storageUrl2;
            @JsonProperty("LeftTopX")
            private Integer leftTopX;
            @JsonProperty("LeftTopY")
            private Integer leftTopY;
            @JsonProperty("RightBtmX")
            private Integer rightBtmX;
            @JsonProperty("RightBtmY")
            private Integer rightBtmY;
            @JsonProperty("LaneNo")
            private Integer laneNo;
            /*有无车牌*/
            @JsonProperty("HasPlate")
            private String hasPlate;
            @JsonProperty("PlateClass")
            private String plateClass;
            @JsonProperty("PlateColor")
            private String plateColor;
            @JsonProperty("PlateNo")
            private String plateNo;
            @JsonProperty("Speed")
            private Integer speed;
            @JsonProperty("Direction")
            private String direction;
            @JsonProperty("VehicleClass")
            private String vehicleClass;
            @JsonProperty("VehicleBrand")
            private String vehicleBrand;
            @JsonProperty("VehicleModel")
            private String vehicleModel;
            @JsonProperty("VehicleColor")
            private String vehicleColor;
            @JsonProperty("VehicleColorDepth")
            private String vehicleColorDepth;
            @JsonProperty("PassTime")
            private String passTime;
            @JsonProperty("Sunvisor")
            private Integer sunvisor;
            @JsonProperty("SafetyBelt")
            private Integer safetyBelt;
            @JsonProperty("Calling")
            private Integer calling;
            @JsonProperty("PlateReliability")
            private String plateReliability;
            @JsonProperty("SubImageList")
            private SubImageListDTO subImageList;


        }
    }

}
